package com.alpaak.eurekafeignclient.service;

import org.springframework.stereotype.Component;

/**
 * @program: spring-cloud-demo
 * @className: HiHystrix
 * @description:
 * @author: alpaak
 * @create: 2019-05-04 14:56
 **/

@Component
public class HiHystrix implements EurekaClientFeign{
    @Override
    public String sayHiFromEurekaClient(String name) {
        return "hi,"+name+",sorry,error";
    }
}
